[INFO] cloning repository https://github.com/Vawheter/SimpleZKCP
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vawheter/SimpleZKCP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVawheter%2FSimpleZKCP", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVawheter%2FSimpleZKCP'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96aa4a1c2b0e1e7d432510a48ef6f6a635b70463
[INFO] building Vawheter/SimpleZKCP against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVawheter%2FSimpleZKCP" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Vawheter/SimpleZKCP on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Vawheter/SimpleZKCP
[INFO] finished tweaking git repo https://github.com/Vawheter/SimpleZKCP
[INFO] tweaked toml for git repo https://github.com/Vawheter/SimpleZKCP written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Vawheter/SimpleZKCP already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v0.6.6
[INFO] [stderr]   Downloaded thread-scoped v1.0.1
[INFO] [stderr]   Downloaded encoding v0.2.32
[INFO] [stderr]   Downloaded rust-crypto v0.2.34
[INFO] [stderr]   Downloaded fixedbitset v0.1.0
[INFO] [stderr]   Downloaded gcc v0.3.21
[INFO] [stderr]   Downloaded kernel32-sys v0.2.1
[INFO] [stderr]   Downloaded bincode v0.4.0
[INFO] [stderr]   Downloaded hex v0.1.0
[INFO] [stderr]   Downloaded rand v0.3.12
[INFO] [stderr]   Downloaded num v0.1.28
[INFO] [stderr]   Downloaded flate2 v0.2.11
[INFO] [stderr]   Downloaded time v0.1.34
[INFO] [stderr]   Downloaded winapi v0.2.5
[INFO] [stderr]   Downloaded bzip2 v0.2.3
[INFO] [stderr]   Downloaded whiteread v0.2.0
[INFO] [stderr]   Downloaded bzip2-sys v0.1.3
[INFO] [stderr]   Downloaded strason v0.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3256b23951d38071b8f6ec47a1968090ce049ffc3288804deb316b67926d580
[INFO] running `Command { std: "docker" "start" "-a" "f3256b23951d38071b8f6ec47a1968090ce049ffc3288804deb316b67926d580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3256b23951d38071b8f6ec47a1968090ce049ffc3288804deb316b67926d580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3256b23951d38071b8f6ec47a1968090ce049ffc3288804deb316b67926d580", kill_on_drop: false }`
[INFO] [stdout] f3256b23951d38071b8f6ec47a1968090ce049ffc3288804deb316b67926d580
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64e3795215837172f2be34b4d2030e3797c666cccaa7eff511cadfe14dc1fef1
[INFO] running `Command { std: "docker" "start" "-a" "64e3795215837172f2be34b4d2030e3797c666cccaa7eff511cadfe14dc1fef1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling gcc v0.3.21
[INFO] [stderr]    Compiling winapi v0.2.5
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling libc v0.1.12
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling byteorder v0.3.13
[INFO] [stderr]    Compiling fixedbitset v0.1.0
[INFO] [stderr]    Compiling whiteread v0.2.0
[INFO] [stderr]    Compiling thread-scoped v1.0.1
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling advapi32-sys v0.1.2
[INFO] [stderr]    Compiling kernel32-sys v0.2.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling hex v0.1.0
[INFO] [stderr]    Compiling encoding v0.2.32
[INFO] [stderr]    Compiling bzip2-sys v0.1.3
[INFO] [stderr]    Compiling miniz-sys v0.1.7
[INFO] [stderr]    Compiling rust-crypto v0.2.34
[INFO] [stderr]    Compiling rand v0.3.12
[INFO] [stderr]    Compiling time v0.1.34
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling flate2 v0.2.11
[INFO] [stderr]    Compiling num v0.1.28
[INFO] [stderr]    Compiling bzip2 v0.2.3
[INFO] [stderr]    Compiling serde v0.6.6
[INFO] [stderr]    Compiling bincode v0.4.0
[INFO] [stderr]    Compiling strason v0.3.3
[INFO] [stderr]    Compiling pay-to-sudoku v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]  --> src/ffi.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void};
[INFO] [stdout]   |                            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
[INFO] [stdout]  --> src/ffi.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void};
[INFO] [stdout]   |                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> src/ffi.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void};
[INFO] [stdout]   |                                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
[INFO] [stdout]   --> src/ffi.rs:46:59
[INFO] [stdout]    |
[INFO] [stdout] 46 | extern "C" fn handle_proof_callback(cb: *mut c_void, len: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: ...
[INFO] [stdout]    |                                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:46:96
[INFO] [stdout]    |
[INFO] [stdout] 46 | extern "C" fn handle_proof_callback(cb: *mut c_void, len: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: ...
[INFO] [stdout]    |                                                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/ffi.rs:46:138
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...ted_solution: *const uint8_t, proof: *const c_char, proof_len: int32_t)//n
[INFO] [stdout]    |                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]    --> src/ffi.rs:143:78
[INFO] [stdout]     |
[INFO] [stdout] 143 |     unsafe { snark_verify(ctx.keypair, len as u32, &proof[0], proof.len() as int32_t, &h_of_key[0], &encrypted_solution[0]) }
[INFO] [stdout]     |                                                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
[INFO] [stdout]   --> src/ffi.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn gen_keypair(len: uint32_t, h: *mut c_void, cb: extern fn(*mut c_void, *const c_char, size_t, *const c_char, size_t));//n
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/ffi.rs:23:48
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t)
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/ffi.rs:23:84
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t)
[INFO] [stdout]    |                                                                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
[INFO] [stdout]   --> src/ffi.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 |                  cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), 
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:26:62
[INFO] [stdout]    |
[INFO] [stdout] 26 |                  cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), 
[INFO] [stdout]    |                                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/ffi.rs:26:86
[INFO] [stdout]    |
[INFO] [stdout] 26 |                  cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), 
[INFO] [stdout]    |                                                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
[INFO] [stdout]   --> src/ffi.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |                  len: uint32_t, solution: *const uint8_t,
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:28:50
[INFO] [stdout]    |
[INFO] [stdout] 28 |                  len: uint32_t, solution: *const uint8_t,
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:29:30
[INFO] [stdout]    |
[INFO] [stdout] 29 |                  key: *const uint8_t, h_of_key: *const uint8_t) -> bool;
[INFO] [stdout]    |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:29:56
[INFO] [stdout]    |
[INFO] [stdout] 29 |                  key: *const uint8_t, h_of_key: *const uint8_t) -> bool;
[INFO] [stdout]    |                                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
[INFO] [stdout]   --> src/ffi.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t);
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t);
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:30:69
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t);
[INFO] [stdout]    |                                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
[INFO] [stdout]   --> src/ffi.rs:32:26
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     len: uint32_t,
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |                     proof: *const uint8_t,
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/ffi.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     proof_len: int32_t,
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:36:38
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     h_of_key: *const uint8_t,
[INFO] [stdout]    |                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead.
[INFO] [stdout]   --> src/ffi.rs:37:42
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     enc_solution: *const uint8_t
[INFO] [stdout]    |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ffi.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let closure: &mut &mut for<'a> FnMut(&'a [u8], &'a [i8]) = mem::transmute(cb);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let closure: &mut &mut dyn for<'a> FnMut(&'a [u8], &'a [i8]) = mem::transmute(cb);
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ffi.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let closure: &mut &mut for<'a> FnMut(&'a [i8], &'a [i8]) = mem::transmute(cb);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let closure: &mut &mut dyn for<'a> FnMut(&'a [i8], &'a [i8]) = mem::transmute(cb);
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ffi.rs:72:22
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut cb: &mut for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut cb: &mut dyn for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f;
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/ffi.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut cb: &mut for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut cb: &mut dyn for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f;
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dimension`
[INFO] [stdout]   --> src/sudoku.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn new(dimension: usize) -> Possible {
[INFO] [stdout]    |            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `undo`
[INFO] [stdout]    --> src/sudoku.rs:218:21
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 let undo = cell.set(candidate);
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_undo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 418 |     fn from(a: bincode::serde::SerializeError) -> ProtoError {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:424:13
[INFO] [stdout]     |
[INFO] [stdout] 424 |     fn from(a: bincode::serde::DeserializeError) -> ProtoError {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sudoku.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut grid = Sudoku::new(n);
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sudoku.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut grid = Sudoku::new(n);
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:223:16
[INFO] [stdout]     |
[INFO] [stdout] 223 |               |mut encrypted_solution, proof| {
[INFO] [stdout]     |                ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `import_and_solve` is never used
[INFO] [stdout]   --> src/sudoku.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn import_and_solve(n: usize, puzzle: &[u8]) -> Option<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `inject` is never used
[INFO] [stdout]    --> src/sudoku.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub fn inject(&self, other: &[u8]) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print` is never used
[INFO] [stdout]    --> src/sudoku.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `clearsome` is never used
[INFO] [stdout]    --> src/sudoku.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 232 |     pub fn clearsome<R: Rng>(&mut self, rng: &mut R) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prompt` is never used
[INFO] [stdout]   --> src/util.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn prompt<T: whiteread::White>(prompt: &str) -> Option<T> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/sudoku.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         grid.solve(&mut rng);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `Keypair`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         -> *const Keypair;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Keypair;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `Keypair`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn gen_proof(keypair: *const Keypair, h: *mut c_void,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Keypair;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `Keypair`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn snark_verify(keypair: *const Keypair,
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Keypair;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/util.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 decoder.finish();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcXL4Qg5/symbols.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.pay_to_sudoku.a55bf795-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd.3ommb44dkm65220u.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/bzip2-sys-7e7a1bd5b482b3f4/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-5fec5fa2788349ec/out" "-L" "/opt/rustwide/target/debug/build/rust-crypto-99bdaf3fe0e63eae/out" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmysnark" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libbincode-c870343333cadc95.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-ab9ecad8f8c99c38.rlib" "/opt/rustwide/target/debug/deps/libcrypto-0ee2a222ed3f2ce5.rlib" "/opt/rustwide/target/debug/deps/liblibc-89c97e7f48596fb0.rlib" "/opt/rustwide/target/debug/deps/libtime-905f6995671366fb.rlib" "/opt/rustwide/target/debug/deps/libstrason-4c40332cea8a5c15.rlib" "/opt/rustwide/target/debug/deps/libencoding-734f06d5927eec9d.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_tradchinese-8dcb34ed8ed76838.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_simpchinese-85e471f2c0eb0c18.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_japanese-e6927871f4271e27.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_korean-455ec1bcb0f4e90b.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_singlebyte-59406844627a9060.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-6ceca3ba335ba7c7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-c9e17414fa6fc5ea.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-fe3e890f428a0028.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-770d0f198bfd2db0.rlib" "/opt/rustwide/target/debug/deps/libflate2-9c2f950715fadf8b.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-4890928b2689f8ab.rlib" "/opt/rustwide/target/debug/deps/libclap-47b134bc710647b4.rlib" "/opt/rustwide/target/debug/deps/libvec_map-dab3909866655c61.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-5fec79f426ca26e0.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-6da279cd4f865ec2.rlib" "/opt/rustwide/target/debug/deps/libstrsim-c0d73e3d44b574a0.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/libatty-acd2a65e0a145591.rlib" "/opt/rustwide/target/debug/deps/libansi_term-76ca62e328105e50.rlib" "/opt/rustwide/target/debug/deps/libserde-a83cd43e6c48f35c.rlib" "/opt/rustwide/target/debug/deps/libnum-34e1d855bc674cef.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-306a29a12f142e2b.rlib" "/opt/rustwide/target/debug/deps/libhex-b9ea9c63c7b3b35d.rlib" "/opt/rustwide/target/debug/deps/libthread_scoped-306e6caaf0b848d6.rlib" "/opt/rustwide/target/debug/deps/librand-1249b2d276c04c80.rlib" "/opt/rustwide/target/debug/deps/liblibc-332a289f87bfc192.rlib" "/opt/rustwide/target/debug/deps/libwhiteread-8a0786f8cc7ff2d5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-5c9ce60c68c2eccd" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lmysnark
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 46 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pay-to-sudoku` due to 2 previous errors; 46 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "64e3795215837172f2be34b4d2030e3797c666cccaa7eff511cadfe14dc1fef1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64e3795215837172f2be34b4d2030e3797c666cccaa7eff511cadfe14dc1fef1", kill_on_drop: false }`
[INFO] [stdout] 64e3795215837172f2be34b4d2030e3797c666cccaa7eff511cadfe14dc1fef1
